const { defineConfig } = require('@vue/cli-service')
const path = require("path");

function resolve(dir) {
  return path.join(__dirname, dir);
}
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  configureWebpack: {
    resolve: {
      alias: {
        "@": resolve("src"),
      },
    },
    // devServer: {
    //   host: 'localhost',
    //   historyApiFallback: true,
    //   allowedHosts: "all"
    // }
  },
})
